Use of logic connectors
NOT: !
The "not" operator is used by placing the "not" symbol, !,
before a boolean value.
//suppose that Julian stayed up late
bool julianStayedUpLate = true;
//will Julian be peppy tomorrow?
bool julianIsPeppy = !julianStayedUpLate;